package com.orangelife.mobile.login.biz;

import java.util.Map;

/**
 * 小区信息业务
 * Created by wgf on 2016/3/29.
 */
public class CommunityBiz {

    public static void saveCommunityInfo(Map<String, Object> map) {
			/* 保存当前小区信息 */
//        HashMap<String, Object> mapComm = new HashMap<>();
//        mapComm.put("city", String.valueOf(map.get("city")));
//        mapComm.put("commID", String.valueOf(map.get("commID")));
//        mapComm.put("comm", String.valueOf(map.get("comm")));
//        mapComm.put("distance", String.valueOf(map.get("distance")));
//        mapComm.put("stree", String.valueOf(map.get("stree")));
//        mapComm.put("commNamePyAll", String.valueOf(map.get("commNamePyAll")));
//        mapComm.put("districtID", String.valueOf(map.get("districtID")));
//        mapComm.put("phone", String.valueOf(map.get("phone")));


//        sp.setComInfo(mapComm);
    }

    public static void clearCommunityInfo() {
//        HashMap<String, Object> mapClearComm = new HashMap<>();
//        mapClearComm.put("city", "");
//        mapClearComm.put("comm", "");
//        mapClearComm.put("commID", "");
//        mapClearComm.put("distance", "");
//        mapClearComm.put("stree", "");
//        mapClearComm.put("commNamePyAll", "");
//        mapClearComm.put("districtID", "");
//        mapClearComm.put("phone", "");
//        .getInstance().setComInfo(mapClearComm); // 清空小区信息
    }


}
